@extends('adminDialog')

@section('content')
    <form action="{{url('admin/ads/posiupdate/'.$model->id)}}" method="POST" class="J_ajaxForm">
        <input type="hidden" name="_token" value="{{ csrf_token() }}">
        <div class="pop_cont pop_table">
            <table width="100%">
                <tbody>
                <tr>
                    <th><label for="name">名称 <span class="red">*</span></label></th>
                    <td>
                        <input type="text" name="name" id="name" class="input length_2" value="{{$model->name}}"/>
                    </td>
                </tr>
                <tr>
                    <th><label for="mark">标识 <span class="red">*</span></label></th>
                    <td>
                        <input type="text" name="mark" id="mark" class="input length_2" value="{{$model->mark}}"/>
                        <div class="gray cc">请保持标识的唯一性</div>
                    </td>
                </tr>
                <tr>
                    <th><label for="height">高度 <span class="red">*</span></label></th>
                    <td>
                        <input type="number" name="height" id="real_name" class="input length_2" value="{{$model->height}}"/> px
                    </td>
                </tr>
                <tr>
                    <th><label for="width">宽度 <span class="red">*</span></label></th>
                    <td>
                        <input type="number" name="width" id="real_name" class="input length_2" value="{{$model->width}}"/> px
                    </td>
                </tr>
                </tbody>
            </table>
        </div>

        <div class="pop_bottom cc">
            <button type="reset" class="btn fr" id="J_dialog_close">取消</button>
            <button type="submit" class="btn btn_submit J_ajax_submit_btn fr mr10" id="J_dialog_close">提交</button>
        </div>
    </form>
@stop

@section('style')
    <style>
        .body_none {width: 300px;}
    </style>
@stop
